<?php /* Smarty version 2.6.18, created on 2016-12-09 10:19:17
         compiled from syllabus/syllabus.gradelist.tpl.php */ ?>
﻿<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                    <p class="box-title">年级课程表 - <?php echo $this->_tpl_vars['grade_data']['grade_name']; ?>
</p>
                </div>
                    <div class="box-body">
					   <form name="myform" method="get" action="">
                       <div class="col-md-3 form-group">
                              <label for="inputPassword3" class="col-sm-5 control-label" style="padding-right:0; padding-left:0; font-weight:500; margin:0;">
                                   年级名称：
                              </label>
                              <div class="input-group col-md-7 col-xs-7">
                                  <select class="form-control" name="grade_id">
                                 <option value="0"> 请选择</option>
								  <?php $_from = $this->_tpl_vars['grade_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
										<option value="<?php echo $this->_tpl_vars['value']['grade_id']; ?>
"  <?php if ($this->_tpl_vars['grade_id'] == $this->_tpl_vars['value']['grade_id']): ?>selected<?php endif; ?>> <?php echo $this->_tpl_vars['value']['grade_name']; ?>
</option>	
								  <?php endforeach; endif; unset($_from); ?>
								    </select> 
                              </div> 
                        </div>
                        <div class="col-md-1 col-xs-2">
						   <input type="hidden" name="a" value="syllabus.gradelist">
                           <button type="submit" class="btn btn-primary">确 定</button>
                        </div>
						</form>
                        <div style="width:100%; overflow-x:scroll" >
                             <table class="table-bordered table-condensed" id="mytable" style="width:100%">					 
								  <tr>
                                         <td> </td>
										 <?php $_from = $this->_tpl_vars['week_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                                         <td colspan="<?php echo $this->_tpl_vars['set_data']['set_apm']; ?>
"><?php echo $this->_tpl_vars['value']; ?>
</td>
										 <?php endforeach; endif; unset($_from); ?>
								  </tr>
								  <tr>
                                         <td> </td>
										 <?php $_from = $this->_tpl_vars['set_data']['set_week']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
											<?php $_from = $this->_tpl_vars['section_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
                                         <td><?php echo $this->_tpl_vars['v']; ?>
</td>
											<?php endforeach; endif; unset($_from); ?>
										 <?php endforeach; endif; unset($_from); ?>
								 </tr>	
								 <?php $_from = $this->_tpl_vars['syllabus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                                  <tr>
                                         <td><?php echo $this->_tpl_vars['key']; ?>
</td>
								  <?php $_from = $this->_tpl_vars['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
									<?php $_from = $this->_tpl_vars['v']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['s'] => $this->_tpl_vars['t']):
?>
										 <td><?php echo $this->_tpl_vars['t']; ?>
</td>
									<?php endforeach; endif; unset($_from); ?>
									
								  <?php endforeach; endif; unset($_from); ?>
								  </tr>
								 <?php endforeach; endif; unset($_from); ?>						
                         </table>  
                       </div>
				    </div><!--box-body -->
             </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
 <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>